package yunquan.wang.cms.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

import yunquan.wang.base.domain.IdEntity;

@Entity
@Table(name = "cms_commet")
public class CmsComment extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4771910196473948476L;
	/**
	 * 未审核
	 */
	public static final int STATUS_SAVED = 0;
	/**
	 * 已审核
	 */
	public static final int STATUS_AUDITED = 1;
	/**
	 * 推荐
	 */
	public static final int STATUS_RECOMMEND = 2;
	/**
	 * 屏蔽
	 */
	public static final int STATUS_DISABLED = 3;
	/**
	 * 创建者
	 */
	private String creatUserid;
	/**
	 * 创建者昵称
	 */
	private String creatuserNickname;
	/**
	 * 评论内容
	 */
	@Lob
	private String comment;
	/**
	 * 产生时间
	 */
	private Date createtime;
	/**
	 * 更新时间
	 */
	private Date updatetime;
	/**
	 * 审核者ID
	 */
	private String auditUserId;
	/**
	 * 状态
	 */
	private Integer status;
	/**
	 * 文章ID
	 */
	private String topicId;
	public String getCreatUserid() {
		return creatUserid;
	}
	public void setCreatUserid(String creatUserid) {
		this.creatUserid = creatUserid;
	}
	public String getCreatuserNickname() {
		return creatuserNickname;
	}
	public void setCreatuserNickname(String creatuserNickname) {
		this.creatuserNickname = creatuserNickname;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public Date getUpdatetime() {
		return updatetime;
	}
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	public String getAuditUserId() {
		return auditUserId;
	}
	public void setAuditUserId(String auditUserId) {
		this.auditUserId = auditUserId;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getTopicId() {
		return topicId;
	}
	public void setTopicId(String topicId) {
		this.topicId = topicId;
	}

}
